<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ page isELIgnored="false" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport"
	content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
	
<link rel="shortcut icon" href="${ctx}/static/favicon.ico">
<link rel="stylesheet" href="${ctx}/static/libs/bootstrap-3.3.0/css/bootstrap.css" />
<link rel="stylesheet" href="${ctx}/page/common/css/firstapp.css">

<script src="${ctx}/static/js/jquery-3.1.1.min.js"></script>
<script type="text/javascript" src="${ctx}/page/common/js/firstapp.js"></script>
<script src="${ctx}/static/libs/bootstrap-3.3.0/js/bootstrap.js"></script>

<script type="text/javascript">
	var ctx = "${ctx}";
	var pageUrl = "${pageUrl}";
</script>

<!-- 提示弹出框 -->
<div class="modal fade" id="tipModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-dialog modal-sm">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
        <h4 class="modal-title" id="tipTitle"></h4>
      </div>
      <div class="modal-body">
        	<span id="tipMsg"></span>
      </div>
    </div>
  </div>
</div>

<script type="text/javascript">
	function showTip(title, msg){
		$('#tipModal').on('show.bs.modal', function (e) {
			$('#tipTitle').text(title);
			$('#tipMsg').text(msg);
		});
		$('#tipModal').modal('show');
	}
 	function showTip2(msg){
		showTip('提示信息', msg);
	}
</script>